package com.sinosoft.emplmis.jobless.entity;

import java.util.Date;

import com.sinosoft.framework.core.common.utils.ObjectUtil;
/**
 * 困难人员跟踪服务记录实体类
 * @author
 *
 */
public class KnryTrackingrecordEntity {
    private String id; //主键

    private String unemployedId; //外键（失业人员信息表主键）

    private String interviewdate; //走访时间
    
    private String theme; //走访主题

    private String location; //走访地点
    
    private String num; //人数

    private String maincontent; //走访跟踪主要内容

    private String who; //跟踪对象

    private byte[] pic; //走访记录
    
    
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUnemployedId() {
		return unemployedId;
	}

	public void setUnemployedId(String unemployedId) {
		this.unemployedId = unemployedId;
	}

	public String getInterviewdate() {
		return interviewdate;
	}

	public void setInterviewdate(String interviewdate) {
		this.interviewdate = interviewdate;
	}

	public String getTheme() {
		return theme;
	}

	public void setTheme(String theme) {
		this.theme = theme;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getNum() {
		return num;
	}

	public void setNum(String num) {
		this.num = num;
	}

	public String getMaincontent() {
		return maincontent;
	}

	public void setMaincontent(String maincontent) {
		this.maincontent = maincontent;
	}

	public String getWho() {
		return who;
	}

	public void setWho(String who) {
		this.who = who;
	}

	public byte[] getPic() {
		return pic;
	}

	public void setPic(byte[] pic) {
		this.pic = pic;
	}

	/**
     * dto对象转换为entity
     * @param entity 供精人员信息实体类
     * @param from 供精人员信息dto对象
     */
    public void toEntityData(KnryTrackingrecordEntity entity,Object from,String... args)
    {
    	try {
			ObjectUtil.oldToNew(entity, from, args);
		} catch (Exception e) {
			e.printStackTrace();
		}
    }
}